<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Pagina Principal do Usuario</title>
</head>
<body>
<%@include file="/pages/common-pages/headerPaginaDeLogin.jsp" %>

 
    <div class="jumbotron">
     
      
     </div>
     <h2>Log-in</h2>
      <div class="container">
      
     
      	<s:form role="form center" action="login_logar" theme="simple">      	
	      	<s:if test="%{mensagemDeFalha != null && mensagemDeFalha != ''}"> 
	             <div class="alert alert-danger">
	                   <s:label value="%{mensagemDeFalha}"></s:label>
	             </div>
	        </s:if>     
         
		  	<div class="form-group">
			    <label for="inputDeLogin">Login</label>
			    <s:textfield name="loginInserido" cssClass="form-control center" value="%{loginInserido}" id="inputDeLogin"/>
		  	</div>
		  	
		  	<div class="form-group">
			    <label for="inputDeSenha">Senha</label>
			    <s:password name="senhaInserida" cssClass="form-control center" value="%{senhaInserida}" id="inputDeSenha"/>
		  	</div>
		  <s:submit cssClass="btn btn-success" value=" Log-in"/>
		</s:form>  
		     
     
    </div>
    <a href="<s:url action='login_preparaTrocarSenha'/>">Esqueci minha senha.</a>

</body>
</html>